package com.atguigu.eduservice.client;

import com.atguigu.commonutils.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhaolie
 * @Date 2020/12/14 4:01 下午
 * @Version 1.0
 * @Description
 */

@Component
@FeignClient(value = "service-vod", fallback = VodClientFallback.class)
public interface VodClient {
    // 删除视频
    @DeleteMapping("/eduvod/{id}")
    public Response removeVideo(@PathVariable("id") String id);
}
